package com.example.demo.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("book2")
public class Book2 {
    @Autowired
    Book returnBook(Book book){
        String s;
        return book;
    }
}
